package com.ruoyi.classai.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 老师资源库对象 ewc_chapter_resource
 *
 * @author lcj
 * @date 2025-03-26
 */
@Data
@TableName("ewc_chapter_resource")
@Schema(description="老师资源库对象ewc_chapter_resource")
public class EwcChapterResource implements Serializable{

private static final long serialVersionUID = 1L;


    /** id */
    @Schema(description  = "id")
    private String id;

    /** 资源名称 */
    @Excel(name = "资源名称")
    @Schema(description  = "资源名称")
    private String resourceName;
    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private Date updateTime;


    /** 创建人名称 */
    @Excel(name = "创建人名称")
    @Schema(description  = "创建人名称")
    private String creator;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    @Schema(description  = "创建人ID")
    private String creatorId;

    /** 状态0删除1正常 */
    @Excel(name = "状态0删除1正常")
    @Schema(description  = "状态0删除1正常")
    private Integer status;

    /** 课程id */
    @Excel(name = "课程id")
    @Schema(description  = "课程id")
    private String courseId;

    /** 模块的代码 */
    @Excel(name = "模块的代码")
    @Schema(description  = "模块的代码")
    private String moduleCode;

    /** 章节ID */
    @Excel(name = "章节ID")
    @Schema(description  = "章节ID")
    private String chapterId;

    /** 资源地址 */
    @Excel(name = "资源地址")
    @Schema(description  = "资源地址")
    private String resourceUrl;

    /**
     * 学科类型
     */
    @Excel(name = "学科类型")
    @Schema(description = "学科类型")
    private Integer subjectType;


    /**
     * 文件后缀
     */
    @Excel(name = "文件后缀")
    @Schema(description = "文件后缀")
    private String fileDetails;

    /**
     * 文件类型
     */
    @Excel(name = "文件类型")
    @Schema(description = "文件类型:0图片，1视频，2音频")
    private Integer fileType;

    /** 教学视频解析资源ID */
    @Excel(name = "教学视频解析资源ID")
    @Schema(description  = "教学视频解析资源ID")
    private String teachingResourceId;

}
